package org.origin.ferret.system.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.origin.centre.model.enums.result.RS;
import org.origin.centre.model.result.R;
import org.origin.centre.model.vo.XPageVo;
import org.springframework.web.bind.annotation.*;

/**
 * 系统用户-接口
 *
 * @author ferret
 * @version 2024-05-08
 */
@RestController
@Tag(name = "系统用户-接口")
@RequiredArgsConstructor
@RequestMapping("${origin.api:}/sys/user")
public class SysUserController {

    /**
     * 分页数据
     *
     * @return 返回结果
     */
    @GetMapping("page")
    @Operation(summary = "分页数据", description = "分页数据")
    // @PreAuthorize("hasAuthority('sys:user:list')")
    public R<XPageVo<?>> page() {
        return R.ok(RS.OK);
    }


}
